home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12231 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: casbah.acns.nwu.edu!muzaffar
  2. From: muzaffar@casbah.acns.nwu.edu (Usman Muzaffar)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Very Simple <maths.h> problem...
  5. Date: 29 Mar 1996 23:04:42 GMT
  6. Organization: Northwestern University, Evanston IL
  7. Message-ID: <4jhqaa$d7i@news.acns.nwu.edu>
  8. References: <4jf0c9$rs8@nic.umass.edu>
  9. NNTP-Posting-Host: casbah.acns.nwu.edu
  10.  
  11. In article <4jf0c9$rs8@nic.umass.edu>,
  12. Eugene K Hall <ekh@asimov.oit.umass.edu> wrote:
  13. >Hi there. I'm getting these errors for a program. It's pathetically easy,
  14. >but I can't seem to rectify it. If anyone could help, it would be great:
  15. >
  16. >It's supposed to work, the man page lists exp() as a valid math.h funct.
  17. >??
  18. >
  19. >Errors:
  20. >------
  21. >
  22. >asimov% !cc
  23. >cc int.c
  24. >ld:
  25. >Unresolved:
  26. >exp
  27. >
  28.  
  29. I'm not sure I understand the reasoning behind forcing people to read FAQs.
  30. It doesn't help. Instead of getting the same stupid newbie questions over and
  31. over again, we just get angry experts yelling at people to read FAQs.
  32.  
  33. Just answer the question. Eugene, you need to use "cc int.c -lm"
  34.  
  35. End of story.
  36. -usman
  37.